#xfsm_shutdown_helperdir = $(HELPER_PATH_PREFIX)/xfce4/session
project(vvxfsm-shutdown-helper)

add_executable(${PROJECT_NAME}
        main.c
)
set(deps)
if (${IS_ALONE_COMPILE})
	list(APPEND deps PkgConfig::XFCE4_UTIL)
else()
	list(APPEND deps libxfce4util-shared)
endif()

target_link_libraries(${PROJECT_NAME}
        PRIVATE
        libxfsm
	${deps}
)
install(TARGETS ${PROJECT_NAME}
        DESTINATION ${HELPER_PATH_PREFIX}/vvxfce4/session
)
